package com.dxyxx.pojo;

import java.io.Serializable;
import java.util.Date;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class User implements Serializable {
	private Date birthday;
	private Date createTime;
	private String image;
	private long keepTime;
	private boolean login;
	private String name;
	private String password;
	private String phone;
	private String sex;

	private String username;

	public User() {
		super();
	}

	public User(String phone, String password, String image, String sex, Date birthday, long keepTime, boolean login, String username) {
		this.phone = phone;
		this.password = password;
		this.image = image;
		this.keepTime = keepTime;
		this.login = login;
		this.sex = sex;
		this.birthday = birthday;
		this.username = username;
	}

	public Date getBirthday() {
		return birthday;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public String getImage() {
		return image;
	}

	public long getKeepTime() {
		return keepTime;
	}

	public String getName() {
		return name;
	}

	public String getPassword() {
		return password;
	}

	public String getPhone() {
		return phone;
	}

	public String getSex() {
		return sex;
	}

	public String getUsername() {
		return username;
	}

	public boolean isLogin() {
		return login;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public void setKeepTime(long keepTime) {
		this.keepTime = keepTime;
	}

	public void setLogin(boolean login) {
		this.login = login;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}
